/**
 * 
 */
package com.ra.model.audit;

import java.util.Date;

import javax.persistence.MappedSuperclass;

import com.ra.model.BaseEntity;

/**
 * @author rp
 * 
 */
@MappedSuperclass
public class AuditEntity extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String createdBy;

	private String updatedBy;

	private Date createdDate;

	private Date updatedDate;

	public static final String MODIFIED_DATE_PROPERTY = "updatedDate";
	public static final String CREATED_DATE_PROPERTY = "createdDate";
	public static final String MODIFIED_BY_PROPERTY = "updatedBy";
	public static final String CREATED_BY_PROPERTY = "createdBy";

	public AuditEntity() {

	}

	/**
	 * @return the createdBy
	 */
	public String getCreatedBy() {
		return createdBy;
	}

	/**
	 * @param createdBy
	 *            the createdBy to set
	 */
	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}

	/**
	 * @return the updatedBy
	 */
	public String getUpdatedBy() {
		return updatedBy;
	}

	/**
	 * @param updatedBy
	 *            the updatedBy to set
	 */
	public void setUpdatedBy(String updatedBy) {
		this.updatedBy = updatedBy;
	}

	/**
	 * @return the createdDate
	 */
	public Date getCreatedDate() {
		return createdDate;
	}

	/**
	 * @param createdDate
	 *            the createdDate to set
	 */
	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}

	/**
	 * @return the updatedDate
	 */
	public Date getUpdatedDate() {
		return updatedDate;
	}

	/**
	 * @param updatedDate
	 *            the updatedDate to set
	 */
	public void setUpdatedDate(Date updatedDate) {
		this.updatedDate = updatedDate;
	}
	
}
